//
//  MRNewNotificationTextCell.h
//  MoRan
//
//  Created by MoRan Team on 2023.
//  Copyright © 2023 MoRan Team. All rights reserved.
//

#import "BaseTableViewCell.h"

@class MRNewNotificationTextCell;
@class MRNewNotificationTextCellModel;

@protocol MRNewNotificationTextCellDelegate <NSObject>

- (void)newNotificationTextCell:(MRNewNotificationTextCell *)cell textField:(UITextField *)textField;

@end

@interface MRNewNotificationTextCell : BaseTableViewCell <UITextFieldDelegate>

@property (nonatomic,weak) id<MRNewNotificationTextCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *textField;//输入框
@property (strong, nonatomic) MRNewNotificationTextCellModel *model;

@end


#pragma mark - Model

@interface MRNewNotificationTextCellModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *content;

+ (MRNewNotificationTextCellModel *)ittemModelWithTitle:(NSString *)title content:(NSString *)content;

@end
